docs: add username policy guide#1421
Open
simeng-li wants to merge 1 commit into
Open
Conversation
Deploying logto-docs-tutorials with
|
| Latest commit: |
9cb72d0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1eaf3085.logto-docs-tutorials.pages.dev |
| Branch Preview URL: | https://simeng-log-13621-docs-docume.logto-docs-tutorials.pages.dev |
Deploying logto-docs with
|
| Latest commit: |
9cb72d0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d50664a6.logto-docs.pages.dev |
| Branch Preview URL: | https://simeng-log-13621-docs-docume.logto-docs.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the per-tenant username policy feature shipped in logto-io/logto#8991 (LOG-13621).
What changed
docs/end-user-flows/sign-up-and-sign-in/username-policy.mdx— modeled on the password-policy page: baseline rules vs per-tenant policy, enforcement surfaces (end-user flows always enforce; Management API applies baseline only), Console setup steps (Advanced options → Username policy → Manage: case sensitivity, length, allowed characters), and the case-insensitive switch flow (409 guard + proactive conflict detection with a link to theGET /api/sign-in-exp/username-policy/case-sensitivity-conflictsoperation). Sidebar position 7; displaced pages bumped (disable-user-registration → 8, error-pages → 9).user-data.mdx§username — "It's case-sensitive." became "case-sensitive by default" with a link to the policy page, since case sensitivity/length/charset are now per-tenant configurable.user-data.mdx§profile — documents the newpreferred_usernameclaim fallback tousernamewhenprofile.preferredUsernameis unset (explicit value wins).sign-up.mdx— username identifier bullet links to the policy page.Testing
N/A
Checklist
.changeset